package com.ruoyi.dm.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName("COLLECT_TLE_RECORD")
@Data
@Builder
public class CollectTleRecordPO {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    //目标id
    @TableField("TLE_CODE")
    private String tleCode;
    //目标名字
    @TableField("TLE_TIME")
    private BigDecimal tleTime;

    @TableField("LINE1")
    private String line1;
    //国家
    @TableField("LINE2")
    private String line2;

    @TableField("DATA_TIME")
    private Date dataTime;

    @Override
    public String toString() {
        return line1 + '\n' +line2;
    }
}
